var callCount : number = 0;
var ref : (x1 : any) => Generator <any, any, any> = function * (x : any) : Generator <any, any, any> {
    callCount = callCount + 1 + x;
}
;
ref (3).next ();
console.log (callCount);
